package org.lisa.crm.dao;

import org.apache.ibatis.annotations.Param;
import org.lisa.crm.model.Customer;
import org.lisa.crm.model.User;

import java.util.List;

/**
 * Created by admin on 2018/1/6.
 */
public interface UserDao {
    public User queryUserByNameAndByPassword(@Param("userName") String userName,@Param("userPwd") String userPwd);

    public List<String> queryPermissionByUid(int uid);

    public List<User> queryAllCustomerManager();

    public List<Customer> queryAllCustomers();
}
